<template>
  <div>
	<h1>{{title}}</h1>
	<nav-tab-top class="tab" :title="titles" :indexName="'geDanTuiJian'"></nav-tab-top>
	<swiper></swiper>
  </div>
</template>

<script>
	import navTabTop from '../common/tab_small.vue'
	import swiper from './lunBo.vue';
  export default{
    name:'',
    data(){
      return {
          titles:['推荐','华语','英语','日语','西语']
       }
    },
    methods:{
      
    },
    components:{
       navTabTop, swiper
    },
	props:{
		title:{
			type:String,
			default(){
				return ""
			}
		}
	},
	mounted() {
		this.$bus.on("myClick",res => {
			console.log('res')
		});
	}
  }
</script>

<style scoped>
	.tab{
		width: 40%;
		margin: 0 auto;
	}
</style>
